// https://www.luogu.com.cn/problem/B2050

#include <stdio.h>

int main()
{
    int a, b, c;
    scanf("%d%d%d", &a, &b, &c);
    if (a + b > c && a + c > b && b + c > a) {
        printf("1\n");
    } else {
        printf("0\n");
    }
    return 0;
}